hotplug/Linux: update to new ip command syntax.
authorMike <debian@good-with-numbers.com>
Fri, 16 Aug 2013 14:31:43 +0000 (15:31 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 21 Nov 2013 18:43:42 +0000 (18:43 +0000)
commitf400f2993b52e820d0da24a2e49a8fdfab0d2827
tree64b83081ed1c2354267ae6eac7f0aab6f5334757
parent5280b7bd26cc93e4a46f0ac6d7706d96e9222154
hotplug/Linux: update to new ip command syntax.

The current usage prevents naming a vif "dev". Although the current syntax is
documented in Squeeze's ip(8) it appears that this was a documentation bug.
Newer versions of the man page describe the new syntax used here and Squeeze's
implementation accepts it as well.

This is Debian bug #705659.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705659

Mike provided the initial patch to tools/hotplug/Linux/xen-network-common.sh
and Ian extended it to catch some cases in vif-* too.

Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Mike <debian@good-with-numbers.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: George Dunlap <george.dunlap@eu.citrix.com>
tools/hotplug/Linux/vif-bridge
tools/hotplug/Linux/vif-nat
tools/hotplug/Linux/xen-network-common.sh